/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 dialog_save_game.h

	$Header: /resource_editor/dialog_save_game.h $

	$NoKeywords: $

 ************************************************************************/

#if !defined(DIALOG_SAVE_GAME_H_INCLUDED)
#define DIALOG_SAVE_GAME_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "dialog_file.h"

class t_text_edit_window;

// ------------------------------------------------------------------
// save game dialog
// ------------------------------------------------------------------
class t_dialog_save_game : public t_dialog_file
{
public:
	t_dialog_save_game( t_window* parent );

	std::string get_file_name() const;
	std::string get_full_path() const;

protected:
	virtual void finish();
	void		 name_finished( t_text_edit_window* );
	void		 name_change( t_text_edit_window* );
	void		 save_click( t_button* );
	virtual void select_file( t_file_data& data );

	t_counted_ptr<t_text_edit_window>	m_edit_box;
	t_button*							m_save_button;
};

#endif // DIALOG_SAVE_GAME_H_INCLUDED